package com.wlps.vo.warehousecenter.pickup;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/8/2
 */
@Data
@ApiModel(value = "领货Vo")
public class PickupVo {
    @ApiModelProperty(value = "任务号")
    @NotNull(message = "必须填任务号")
    private Long id;
    @ApiModelProperty(value = "领货人姓名")
    @NotBlank(message = "领货人姓名不能为空")
    @NotNull(message = "必须填领货人姓名")
    private String name;
    @NotNull(message = "必须填领货日期")
    @ApiModelProperty(value = "领货日期")
    private Date dateTime;
    @ApiModelProperty(value = "备注")
    private String remark;
}
